package com.frame.io;

import java.io.InputStream;

/**
 * @Description 使用类加载器读取配置文件的类
 * @Author Mokairui
 * @Since 2021/11/27
 */
public class Resources {

    public static InputStream getResourceAsStream(String filePath) {
        return Resources.class.getClassLoader().getResourceAsStream(filePath);
    }
}
